<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>后台管理系统</title>
    <jsp:include page="common/header2.jsp"/>
</head>
<body style="margin-top: 30px;">
<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-body">
                    <fieldset class="layui-elem-field">
                        <legend>贷款平台添加/编辑</legend>
                        <br/>
                        <form method="POST" class="layui-form layui-form-pane" role="form" action="/admin/tLoanPlatform/save">
                            <input type="hidden" name="id" value="${tLoanPlatform.id}"/>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款APP名称</label>
                                <div class="layui-input-block">
                                    <input type="text" name="platformName" value="${tLoanPlatform.platformName}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">LOGO地址</label>
                                <div class="layui-input-block">
                                    <input type="text" name="logoUrl" value="${tLoanPlatform.logoUrl}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">类型1:API，2:H5</label>
                                <div class="layui-input-block">
                                    <input type="text" name="platformType" value="${tLoanPlatform.platformType}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">类型为API时，API模板类</label>
                                <div class="layui-input-block">
                                    <input type="text" name="apiTemplate" value="${tLoanPlatform.apiTemplate}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">类型为H5时为H5的链接地址或API地址</label>
                                <div class="layui-input-block">
                                    <input type="text" name="linkUrl" value="${tLoanPlatform.linkUrl}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款最小金额</label>
                                <div class="layui-input-block">
                                    <input type="text" name="minLoanLimit" value="${tLoanPlatform.minLoanLimit}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款最大金额</label>
                                <div class="layui-input-block">
                                    <input type="text" name="maxLoanLimit" value="${tLoanPlatform.maxLoanLimit}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">还款类型1:日还，2:月还，3:日月还</label>
                                <div class="layui-input-block">
                                    <input type="text" name="repaymentType" value="${tLoanPlatform.repaymentType}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">还款方式编码（查询字典）</label>
                                <div class="layui-input-block">
                                    <input type="text" name="modeType" value="${tLoanPlatform.modeType}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款最小日或月</label>
                                <div class="layui-input-block">
                                    <input type="text" name="minLoanNum" value="${tLoanPlatform.minLoanNum}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款最大日或月</label>
                                <div class="layui-input-block">
                                    <input type="text" name="maxLoanNum" value="${tLoanPlatform.maxLoanNum}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款最小利率</label>
                                <div class="layui-input-block">
                                    <input type="text" name="minInterestRate" value="${tLoanPlatform.minInterestRate}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款最大利率</label>
                                <div class="layui-input-block">
                                    <input type="text" name="maxInterestRate" value="${tLoanPlatform.maxInterestRate}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">最快放款时间（单位分）</label>
                                <div class="layui-input-block">
                                    <input type="text" name="fastestTime" value="${tLoanPlatform.fastestTime}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">支持地区说明</label>
                                <div class="layui-input-block">
                                    <input type="text" name="supportArea" value="${tLoanPlatform.supportArea}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">是否新品(0:否，1是)</label>
                                <div class="layui-input-block">
                                    <input type="text" name="isNew" value="${tLoanPlatform.isNew}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">是否发布1发布，0不发布</label>
                                <div class="layui-input-block">
                                    <input type="text" name="isRelease" value="${tLoanPlatform.isRelease}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">平台描述(平台简介)</label>
                                <div class="layui-input-block">
                                    <input type="text" name="remark" value="${tLoanPlatform.remark}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">联系人</label>
                                <div class="layui-input-block">
                                    <input type="text" name="userName" value="${tLoanPlatform.userName}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">联系电话</label>
                                <div class="layui-input-block">
                                    <input type="text" name="phone" value="${tLoanPlatform.phone}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">是否有砍头息</label>
                                <div class="layui-input-block">
                                    <input type="text" name="isHeadrest" value="${tLoanPlatform.isHeadrest}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">逾期描述</label>
                                <div class="layui-input-block">
                                    <input type="text" name="beoverdueDesc" value="${tLoanPlatform.beoverdueDesc}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">提前还款说明</label>
                                <div class="layui-input-block">
                                    <input type="text" name="prepaymentDesc" value="${tLoanPlatform.prepaymentDesc}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">其他费用说明</label>
                                <div class="layui-input-block">
                                    <input type="text" name="otherDesc" value="${tLoanPlatform.otherDesc}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">上线时间</label>
                                <div class="layui-input-block">
                                    <input type="text" name="onlineTime" value="${tLoanPlatform.onlineTime}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">创建时间</label>
                                <div class="layui-input-block">
                                    <input type="text" name="createTime" value="${tLoanPlatform.createTime}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">贷款成功率</label>
                                <div class="layui-input-block">
                                    <input type="text" name="successRate" value="${tLoanPlatform.successRate}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">导流总数</label>
                                <div class="layui-input-block">
                                    <input type="text" name="totalDiversion" value="${tLoanPlatform.totalDiversion}"
                                           placeholder="" autocomplete="off"
                                           class="layui-input">
                                </div>
                            </div>
                            <center>
                            <div class="layui-form-item">
                                    <button class="layui-btn" lay-submit lay-filter="demo1" type="submit">保 存
                                    </button>
                            </div>
                            </center>
                        </form>
                    </fieldset>
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>
</div>
</body>
</html>
